package homeworkSYX_OODay04;

public class Chick extends Animal {
    Chick(){

    }
    Chick(String name,String color,int age){
        super(name, color, age);
    }
    public void eat(){
        System.out.println(color + "色的" + age + "岁的鸡" + name + "正在吃小米..");
    }
    public void layEggs(){
        System.out.println(color + "色的" + age + "岁的鸡" + name + "正在下蛋..");
    }


}
